package com.module.itemeditor;

public class PropertyFactory {
	public static Object create(String name,Object value){
		if(value instanceof Integer){
			return new IntegerProperty(name, (Integer)value);
		}
		else if(value instanceof String){
			return new StringProperty(name, (String)value);
		}
		else
		{
			return null;
		}
	}
}
